<?php


namespace app\service;

use app\model\AdminMenuModel;
use app\model\AdminUserModel;
use app\model\TimeModel;
use think\facade\App;
use think\Service;

class ModelService extends Service
{

    /**
     * @var string[]
     */
    public $bind = [
        'adminUserModel'    =>    AdminUserModel::class,
        'adminMenuModel'    =>    AdminMenuModel::class,
    ];
    /**
     * 注册服务
     * @param string $class 类名
     * @param array  $vars  参数
     * @return mixed
     */
    public function register()
    {
//     $this->app->bind('adminUserModel',AdminUserModel::class);
        //
    }

    /**
     * 执行服务
     * @return mixed
     */
    public function boot()
    {
        //
    }
}
